package top.cyixlq.chat.entity;

public class MessageBean {
    private boolean isReceive; // 是否是收到的消息
    private String content; // 消息内容
    private String nickName; // 昵称；如果第一个界面没有填写就是用ip作为昵称

    public MessageBean(boolean isReceive, String content, String nickName) {
        this.isReceive = isReceive;
        this.content = content;
        this.nickName = nickName;
    }

    public boolean isReceive() {
        return isReceive;
    }

    public void setReceive(boolean receive) {
        isReceive = receive;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }
}
